package com.coding.mapper;

import com.coding.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * -- Created by IntelliJ IDEA.
 * -- REMARK:
 * -- User: tanwei
 * -- Date: 2020/7/4
 * -- Time: 1:09 上午
 * --
 */
@Mapper
@Repository
public interface EmployeeMapper {

    List<Employee> getEmployees();

    int savetEmployees(Employee employee);

    Employee getEmployee(Integer id);

    void deletetEmployees(Integer id);
}
